<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
   <title>必和必拓矿石投资平台</title>
<%
	response.setHeader("Pragma","No-cache"); 
	response.setHeader("Cache-Control","no-cache"); 
	response.setDateHeader("Expires", 0);
	String path = request.getContextPath();
	String port = (0<request.getServerPort()) ? (":"+request.getServerPort()) : "";
	String basePath = request.getScheme()+"://"+request.getServerName()+port+path+"/";
%>
    
     
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <meta name="renderer" content="webkit"/>
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="icon" type="image/png" href="<%=basePath%>/resources/memberCss/assets/i/favicon.png"/>
    <link rel="apple-touch-icon-precomposed" href="<%=basePath%>/resources/memberCss/assets/i/app-icon72x72@2x.png"/>
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <link rel="stylesheet" href="<%=basePath%>/resources/memberCss/assets/css/amazeui.min.css" />
    <link rel="stylesheet" href="<%=basePath%>/resources/memberCss/assets/css/amazeui.datatables.min.css" />
    <link rel="stylesheet" href="<%=basePath%>/resources/memberCss/assets/css/app.css"/>
    <script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
    <script type="text/javascript" src="<%=basePath%>/resources/js/jquery-1.4.js"></script>
	
 
	<script type="text/javascript"> 
		var checkSubmitFlg = false; 
		
		
		function checkSubmit() {  
		 	var loginName = document.forms[0]["loginName"];
	        var onePassword = document.forms[0]["onePassword"];
	        if(loginName.value == ""){
	            alert("账号不能为空!");
	            
	            return false;
	        }
	        if(onePassword.value == ""){
	            alert("密码不能为空!");
	            
	            return false;
	        }
			
			if (checkSubmitFlg == true) {   
				return false;   
			}   
			checkSubmitFlg = true;   
			return true;   
		}   
		document.ondblclick = function docondblclick() {   
			window.event.returnValue = false;   
		}   
		document.onclick = function doconclick() {   
			if (checkSubmitFlg) {   
				window.event.returnValue = false;   
			}   
		}   
	</script>
</head>

<body data-type="login">
    <script src="<%=basePath%>/resources/memberCss/assets/js/theme.js"></script>
    <div class="am-g tpl-g">
         
        <div class="tpl-login">
            <div class="tpl-login-content">
                <div class="tpl-login-logo">

                </div>



                <form class="am-form tpl-form-line-form" action="login.shtml"  method="post" onsubmit="return submitForm()">
                    <div class="am-form-group">
                        
                        <input type="text" id="loginName" name="loginName" class="tpl-form-input" placeholder="请输入账号"/>

                    </div>

                    <div class="am-form-group">
                        
                        <input type="password" id="onePassword" name="onePassword"  class="tpl-form-input"  placeholder="请输入密码"/>

                    </div>
                    <div class="am-form-group tpl-login-remember-me" style="color: red;">
                        ${retMsg}
                    </div>






                    <div class="am-form-group">

                        <button type="submit" class="am-btn am-btn-primary  am-btn-block tpl-btn-bg-color-success  tpl-login-btn">提交</button>

                    </div>
                </form>
            </div>
        </div>
    </div>
     <script src="<%=basePath%>/resources/memberCss/assets/js/amazeui2.min.js"></script>
    <script src="<%=basePath%>/resources/memberCss/assets/js/app.js"></script>

</body>

</html>
